package com.food.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-07-03
 */
@Getter
@Setter
@ToString
@TableName("merchant")
public class Merchant implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商家ID，主键
     */
    @TableId(value = "merchant_id", type = IdType.AUTO)
    private Integer merchantId;

    /**
     * 商家名称
     */
    @TableField("name")
    private String name;

    /**
     * 商家地址
     */
    @TableField("address")
    private String address;

    /**
     * 商家联系电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 商家登录密码
     */
    @TableField("password")
    private String password;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 更新时间
     */
    @TableField("updated_at")
    private Date updatedAt;
}
